package com.mhkj.workflow.service;

import java.io.IOException;
import java.util.List;

import com.mhkj.workflow.entity.WorkFlowLogger;
import com.mics.core.system.base.service.BaseService;

/**
 * 流程记录日志
 * @author wangkai
 *
 */ 
public interface WorkFlowLoggerService extends BaseService<WorkFlowLogger>{
	
	/**
	 * 根据流程实体ID 获取流程跳转页面
	 * @param procInsId
	 * @return
	 */
	WorkFlowLogger getJumpUrlByProcInsId(String procInsId);
	
	/**
	 * 根据ID获取流程记录信息
	 * @param id
	 * @return
	 */
	WorkFlowLogger getWorkFlowById(Long id);
	
	/**
	 * 获取除流程结束外的数据
	 * @return
	 */
	List<WorkFlowLogger> getWorkFlowListForOk() ;
	
	/**
	 * @param list
	 * @return
	 */
	String getActivityState(List<WorkFlowLogger> list) throws IOException;
}
